package com.sun.personal.service;

import com.sun.bean.SysUser;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UserDetailsService;
import org.springframework.security.core.userdetails.UsernameNotFoundException;

import java.util.List;


public interface SysUserService {

    List<SysUser> findSysUserAll();

    SysUser findSysUserByName(String username);

}
